﻿using BusinessLayer.VDataEntities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TrialManagementTool.Helper;

namespace TrialManagementTool.Controllers
{
    [Authentication]
    public class PromoterController : Controller
    {
        //
        // GET: /Promoter/

        public ActionResult Index()
        {
            return View();
        }

        public ActionResult Detail(int ID)
        {
            VPromoterProvinceMappings promoterMapping = BusinessLayer.PromoterBusiness.GetProvinceMappingsByPromoterID(ID);
            return View(promoterMapping);
        }

    }
}
